********************************************************************************
* Author: Patrick Sullivan
* Title	: Teaching Tax Brackets - Attrition
* Date	: July 2025
********************************************************************************

**********************
*** General Notes: ***
**********************

* Run this do file first using the 'ThinkingAtMargin_RawData.dta' file.
* Then Run File 1 (DATAPREP) and 2 (ANALYSES)

clear all 

global path "###########" // GET INFO ON ThinkingAtMargin_RawData and insert file path here

use "$datadir/ThinkingAtMargin_RawData.dta"

**************************************
***** Table A5: Survey Attrition *****
**************************************

*** Completion Status ***
tab completionstatus

*** Dropouts by Survey Point ***
sum dropout_I dropout_B dropout_T dropout_P dropout_R dropout_O dropout_D*

*** Dropouts by Video Treatment ***
* Control
tab completionstatus TP0_1
* Treatment
tab completionstatus TP0_2
